ee35b5ed07d863325b655ad43dcebb4ae5bd7c96,spring-core/src/main/java/org/springframework/core/annotation/AnnotatedElementUtils.java,AnnotatedElementUtils,getMergedAnnotation,#AnnotatedElement#Class#,297
Before Change
*/
public static <A extends Annotation> A getMergedAnnotation(AnnotatedElement element, Class<A> annotationType) {
AnnotationAttributes attributes = getMergedAnnotationAttributes(element, annotationType);
return (attributes != null ? AnnotationUtils.synthesizeAnnotation(attributes, annotationType, element) : null);
}
/**
After Change
*/
public static <A extends Annotation> A getMergedAnnotation(AnnotatedElement element, Class<A> annotationType) {
AnnotationAttributes attributes = getMergedAnnotationAttributes(element, annotationType);
return AnnotationUtils.synthesizeAnnotation(attributes, annotationType, element);
}
/**